import service from './http.js'
// get
export function getAction(parameter) {
	let params = {
				method: 'get',
				url: '/index/statistics',
				requestBase: 'VUE_BASE_URL',
				data: parameter
			}
  return service(params);
}
export function topicList(pageSize,pageNo) {
	let params = {
				method: 'get',
				url: '/topic/list?pageNo='+pageNo+'&&pageSize='+pageSize,
				requestBase: 'VUE_BASE_URL'
			}
  return service(params);
}
// 详情
export function topicTopicDetail(id) {
	let params = {
				method: 'get',
				url: '/topic/topic-detail?id='+id,
				requestBase: 'VUE_BASE_URL',
			}
  return service(params);
}

export function indexClientKnowledge(parameter) {
	let params = {
				method: 'POST',    //这里post要大写，否则会包9001错误
				url: '/index/client-knowledge',
				requestBase: 'VUE_BASE_URL',
				data: parameter
			}
			
  return service(params);
}